package com.wxg.netty;

import org.junit.Assert;
import org.junit.Test;

public class IntegerDemo {

    @Test
    public void test1() {
        int i = Integer.MAX_VALUE;
        Assert.assertEquals(2147483647, i);
        Assert.assertEquals(-2147483648, i + 1);
        Assert.assertEquals(-2147483647, i + 2);
        Assert.assertEquals(-2147483646, i + 3);
    }
}
